<?php
/**
 * This file is part of PHPlaza (http://code.google.com/p/phplaza)
 * This file is licensed under the GNU Lesser General Public License
 *      http://www.gnu.org/licenses/lgpl.html
 *
 * No warranty is given, express or implied. Use at your own risk.
 */
 
namespace core::collections;
interface ITreeItem extends Countable
{
	public function getParent();
	public function setParent(ITreeItem $parent);
	public function getChildren();
	public function addChild(ITreeItem $child);
	public function removeChild(ITreeItem $child);
}